package com.itheima.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * @author hql
 * @date 2019-12-04 12:49
 */
@Service
public interface SetmealService {

    void addSetmeal(Integer[] id, Setmeal setmeal);

     PageResult findAllSetmeal(QueryPageBean queryPageBean);

    List<Setmeal> getAllSetmeal();

     Setmeal findById(Integer id);

    Setmeal findById2(Integer id);

    Setmeal findSetmeal(Integer id);

     void updateSetmeal(Setmeal setmeal);

    void delSetmeal(Integer id);

     List<Map<String, Object>> findSetmealCount();
}
